package com.kx.yooli.kx.wechat.entity.redis;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * @author john_sqwen-childe.wen
 * date 2024/6/6
 * PROJECT_NAME wechat
 * description create RedisEntity by john_sqwen
 * and  value is
 */
public class RedisEntity {
    private final Logger log = LoggerFactory.getLogger(RedisEntity.class);
    private int redisDataBase;
    private int redisPort;
    private String redisHost;
    private String redisPass;

    public RedisEntity() {
    }

    public RedisEntity(int redisDataBase, int redisPort, String redisHost, String redisPass) {
        this.redisDataBase = redisDataBase;
        this.redisPort = redisPort;
        this.redisHost = redisHost;
        this.redisPass = redisPass;
    }

    public Logger getLog() {
        return log;
    }

    public int getRedisDataBase() {
        return redisDataBase;
    }

    public void setRedisDataBase(int redisDataBase) {
        this.redisDataBase = redisDataBase;
    }

    public int getRedisPort() {
        return redisPort;
    }

    public void setRedisPort(int redisPort) {
        this.redisPort = redisPort;
    }

    public String getRedisHost() {
        return redisHost;
    }

    public void setRedisHost(String redisHost) {
        this.redisHost = redisHost;
    }

    public String getRedisPass() {
        return redisPass;
    }

    public void setRedisPass(String redisPass) {
        this.redisPass = redisPass;
    }

    @Override
    public String toString() {
        return "RedisEntity{" +
                "redisDataBase=" + redisDataBase +
                ", redisPort=" + redisPort +
                ", redisHost='" + redisHost + '\'' +
                ", redisPass='" + redisPass + '\'' +
                '}';
    }
}
